Q3ViewerGetButtonRect
You can use theQ3ViewerGetButtonRect
function to get the rectangle that encloses a viewer button.
OSErr Q3ViewerGetButtonRect ( TQ3ViewerObject theViewer, unsigned long button, Rect *rect);
theViewer
- A viewer object.
button
- A button.
rect
- On exit, the rectangle that enclosed the specified button in the specified viewer.
DESCRIPTION
TheQ3ViewerGetButtonRect
function returns, in therect
parameter, the rectangle that encloses the button specified by thebutton
parameter in the viewer object specified by thetheViewer
parameter. You can use these constants to specify the button whose rectangle you want returned:
kQ3ViewerButtonCamera kQ3ViewerButtonTruck kQ3ViewerButtonOrbit kQ3ViewerButtonZoom kQ3ViewerButtonDolly